package casa.depesos.app.com.http.req;

import casa.depesos.app.com.http.HttpReq;
import casa.depesos.app.com.http.Req;
import casa.depesos.app.com.http.ReqCallback;
import casa.depesos.app.com.http.bean.TakeFailBean;
import casa.depesos.app.com.http.parser.TakeFailParser;
import casa.depesos.app.com.utils.Constant;
import okhttp3.FormBody;

public class FailReq implements HttpReq<TakeFailBean> {
    @Override
    public void req(ReqCallback<TakeFailBean> callback) {// /app/loan/queryLoanRiskFail
        FormBody.Builder builder = new FormBody.Builder();
        builder.add("reqnum", Constant.getApplyId());
        Req.post("/app/financial/fetchLoanRiskFailureInfo", getParam(), getHeader(), builder.build(), new TakeFailParser(), callback, this);
    }
}
